package com.stm.bi.repository.dataobject;

import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

/**
* ETL记录-持久对象
*
* @author 阿俊
* @date 2024-01-22
*/
@TableName("b_etl_record")
public class EtlRecordDO {

    /**
    * ID
    */
    private Long id;

    private Long orgId;

    private String orgName;

    /**
    * 任务名称
    */
    private String taskName;
    /**
    * 最后同步时间
    */
    private LocalDateTime lastEtlTime;

    public Long getId(){
        return this.id;
    }

    public EtlRecordDO setId(Long id){
        this.id = id;
        return this;
    }

    public Long getOrgId() {
        return orgId;
    }

    public EtlRecordDO setOrgId(Long orgId) {
        this.orgId = orgId;
        return this;
    }

    public String getTaskName() {
        return taskName;
    }

    public EtlRecordDO setTaskName(String taskName) {
        this.taskName = taskName;
        return this;
    }

    public String getOrgName() {
        return orgName;
    }

    public EtlRecordDO setOrgName(String orgName) {
        this.orgName = orgName;
        return this;
    }

    public LocalDateTime getLastEtlTime() {
        return lastEtlTime;
    }

    public EtlRecordDO setLastEtlTime(LocalDateTime lastEtlTime) {
        this.lastEtlTime = lastEtlTime;
        return this;
    }
}
